.PHONY:all
all:PreFork abnormal test practice wait waitpid

waitpid:waitpid.c
	gcc -o $@ $^

wait:wait.c
	gcc -o $@ $^

practice:practice.c
	gcc -o $@ $^

test:test.c
	gcc -o $@ $^

abnormal:abnormal.c
	gcc -o $@ $^

PreFork:PreFork.c
	gcc -o $@ $^

.PHONY:clean
clean:
	rm -rf PreFork
	
